package com.qidianit.mes.pro.controller;

import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pro.service.CodeAutoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ Description:
 * @ Author:WuJingLei
 * @ Date: 2025/9/26 -10:15
 */
@RestController
@RequestMapping("codeAuto")
public class CodeAutoController {
    @Autowired
    private CodeAutoService codeAutoService;

    @GetMapping("/get")
    public Result getCodeAuto(String type){
        return  codeAutoService.getCodeAuto(type);
    }
}
